#ifndef TRANSFERCHANGE_H
#define TRANSFERCHANGE_H

#include "person.h"
#include <QWidget>
#include "QNetworkRequest"
#include "QNetworkReply"


namespace Ui {
class transferChange;
}

class transferChange : public QWidget
{
    Q_OBJECT

public:
    explicit transferChange(QWidget *parent = nullptr, Person * m_user = nullptr);
    ~transferChange();
    void basicSettings(); //基础设置
    void connectSettings(); //连接设置

private:
    Ui::transferChange *ui;

    Person * transfer_user = nullptr; //用户信息指针
    QString originalPath;
    QString backgroundPath;
    QString resultPath;

public slots:
    void btnOriginal_clicked();
    void btnBackground_clicked();
    void btnResult_clicked();

    void dealMsg(QNetworkReply *);

signals:
    void showWait();
    void closeWait();
};

#endif // TRANSFERCHANGE_H
